package com.lc.service;

import com.github.pagehelper.PageInfo;
import com.guigu.pojo.TRole;
import com.guigu.pojo.TUser;
import com.guigu.viwe.PageVo;
import com.lc.vo.OrderTmnberView;
import com.lc.vo.loginroleandshouroleView;

import java.util.List;

public interface SysUserService {

    PageInfo<TUser> queryalltuserpageService(PageVo<TUser> pageVo);

    /**
     * 添加用户
     * @param user
     */
    void adduserService(TUser user);

    loginroleandshouroleView selectloginroleService(int loginid, int shouid);

    void updateuserService(TUser tUser);

    void authorizationuserService(loginroleandshouroleView view);

    int deleteService(int id);

    TUser loginuserService(int id);

    int yanzshoujihaoheyhmService(String username,String phone);

    int xiugaimmzService(TUser user);


}
